<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
           "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <title>{$smarty.const.LANG_ADMIN_PANEL}</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link rel="stylesheet" type="text/css" href="{$tpldir}admin/main.css" />
	
</head>

<body dir="{$smarty.const.LANG_DIR}">
<table class="sub" align="center" cellpadding="1" cellspacing="0">
<tr><td>
	{include file='admin_header.tpl'}
</td></tr>
	{if $message[0]}
	<tr><td>
	<table align="center" class="lb_system_board" cellpadding="1" cellspacing="1">
	<tr><td>
	{if $message[0]}
		<div>
			<ul>{$smarty.const.LANG_MESSAGES}
				{foreach item=item from=$message}
				<li class="lb_message">{$item}</li>
				{/foreach}
			</ul>
		</div>
	{/if}
	</td></tr>
	</table>
	</td></tr>
	{/if}
<tr><td>
	<table class="lb_main" align="center" cellpadding="0" cellspacing="0">
	    <tr>
	        <td class="lb_menu" valign="top">{include file='admin_menu.tpl'}</td>
			<td class="lb_main_sep">&nbsp;</td>
			{if $task}
				<td class="lb_content" align="center">
					{include file="admin_$task.tpl"}
				</td>
			{else}
				<td class="lb_content" align="center">
					{include file="admin_admin.tpl"}
				</td>
			{/if}
	    </tr>
	</table>
</td></tr>
<tr><td>
	<br />
	{include file='admin_footer.tpl'}
</td></tr>
</table>
<br />
</body>
</html>
